package org.ehe.business.engineer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.business.engineer.domain.EngineerLevelConfigEntity;

import java.util.List;

/**
 * @author :zhangnn
 * @className :EngineerLevelConfigService
 * @description: TODO
 * @date 2025-07-26 16:50:30
 */
public interface EngineerLevelConfigService extends IService<EngineerLevelConfigEntity> {
    /**
     * 根据职级获取配置信息
     * @param level
     * @return
     */
    EngineerLevelConfigEntity getByLevel(String level);

    /**
     * 获取列表
     * @return
     */
    List<EngineerLevelConfigEntity> queryList();

    /**
     * 获取全部职级配置列表
     * @param configEntity
     * @return
     */
    List<EngineerLevelConfigEntity> queryConfigList(EngineerLevelConfigEntity configEntity);

    /**
     * 保存职级配置
     * @param configEntity
     * @return
     */
    String saveEngineerLevelConfig(EngineerLevelConfigEntity configEntity);

    /**
     * 修改职级配置
     * @param configEntity
     * @return
     */
    String updateEngineerLevelConfig(EngineerLevelConfigEntity configEntity);

    /**
     * 删除职级配置
     * @param id
     * @return
     */
    int deleteConfig(Long id);
}
